package com.sdx.console.contract.entity;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;
import org.beetl.sql.core.TailBean;
import java.math.*;
import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;
import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
/*
 *
 * gen by Spring Boot2 Admin 2019-11-06
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class ContractServiceRecord extends BaseEntity{
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID
    private Integer id ;
    //合同id
    private Integer contractId ;
    //服务类型id 关联了contract_prices表
    private Integer typeId ;
    //服务进程id
    private Integer nodeId ;
    //服务进程说明
    private String content ;
    //服务附件
    private String files ;
    //服务老师
    private String teacher ;
    //记录时间
    private Date recordTime ;
    //创建时间
    private Date createTime ;
    //修改时间
    private Date updateTime ;
    //当前节点状态
    private Integer nodeSchedule;
    //节点序号
    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getNodeSchedule() {
        return nodeSchedule;
    }

    public void setNodeSchedule(Integer nodeSchedule) {
        this.nodeSchedule = nodeSchedule;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFiles() {
        return files;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


//    @Override
//    public String toString() {
//        return "ContractServiceRecord{" +
//                "id=" + id +
//                ", contractId=" + contractId +
//                ", typeId=" + typeId +
//                ", nodeId=" + nodeId +
//                ", content='" + content + '\'' +
//                ", files='" + files + '\'' +
//                ", teacher='" + teacher + '\'' +
//                ", recordTime=" + recordTime +
//                ", createTime=" + createTime +
//                ", updateTime=" + updateTime +
//                ", nodeSchedule=" + nodeSchedule +
//                '}';
//    }
}